package com.topisv.tms.entity.stock.instorage;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.springframework.beans.factory.annotation.Autowired;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.EdiGoodsSku;
import com.topisv.tms.entity.IdEntity;

/**
 * 入库点收明细
 */
@Entity
@Table(name = "instorage_count_item")
public class InstorageCountItem extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String billCode;
	
	private String customerCode;
	
	private String warehouseCode;
	
	private String taskCode;
	
	private String instorageType;
	
	private String sku;
	
	private Integer num;
	
	private String boxCode;
	
	private String uptaskCode;
	
	private String upStatus;
	
	private Integer upNum;
	
	private String errorFlag;
	
	private Integer planNum;
	
	private String batchCode;
	
	private String productDate;
	
	private String expireDate;
	@Transient
	public Integer getPlanNum() {
		return planNum;
	}

	public void setPlanNum(Integer planNum) {
		this.planNum = planNum;
	}

	public String getErrorFlag() {
		return errorFlag;
	}

	public void setErrorFlag(String errorFlag) {
		this.errorFlag = errorFlag;
	}

	public Integer getUpNum() {
		return upNum;
	}

	public void setUpNum(Integer upNum) {
		this.upNum = upNum;
	}

	public String getUpStatus() {
		return upStatus;
	}

	public void setUpStatus(String upStatus) {
		this.upStatus = upStatus;
	}

	public String getUptaskCode() {
		return uptaskCode;
	}

	public void setUptaskCode(String uptaskCode) {
		this.uptaskCode = uptaskCode;
	}

	public String getBoxCode() {
		return boxCode;
	}

	public void setBoxCode(String boxCode) {
		this.boxCode = boxCode;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getTaskCode() {
		return taskCode;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	public String getInstorageType() {
		return instorageType;
	}

	public void setInstorageType(String instorageType) {
		this.instorageType = instorageType;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	//dto属性
	private Customers customer;
	
	private AreaGroup warehouse;
	
	private InstorageBill bill;

	private EdiGoodsSku ediGoodsSku ;
	
	@Transient
	public Customers getCustomer() {
		return customer;
	}

	public void setCustomer(Customers customer) {
		this.customer = customer;
	}

	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}

	@Transient
	public InstorageBill getBill() {
		return bill;
	}

	public void setBill(InstorageBill bill) {
		this.bill = bill;
	}
	@Transient
	public EdiGoodsSku getEdiGoodsSku() {
		return ediGoodsSku;
	}

	public void setEdiGoodsSku(EdiGoodsSku ediGoodsSku) {
		this.ediGoodsSku = ediGoodsSku;
	}

    
    public String getBatchCode() {
        return batchCode;
    }

    
    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    
    public String getProductDate() {
        return productDate;
    }

    
    public void setProductDate(String productDate) {
        this.productDate = productDate;
    }

    
    public String getExpireDate() {
        return expireDate;
    }

    
    public void setExpireDate(String expireDate) {
        this.expireDate = expireDate;
    }
}